Telegram Group & Telegram Channel
​​Git unstaged diffs

Недавно наблюдал как знакомый использовал
 git diff | git apply --reverse

Для того чтобы убрать unstaged diffs в git.
Для этих целей пользую обычно
 git stash
или иногда
 git checkout . 

Все варианты делают почти одно и тоже.
Ну только стеш еще и сохраняет изменения.
Одинаковую задачу в git можно решить огромным количеством способов.

Как ты обычно чистишь ненужные изменения? Может есть еще какие-то варианты?
Го в наш чат - @developer_tools_chat



tg-me.com/developer_tools/257
Create:
Last Update:

​​Git unstaged diffs

Недавно наблюдал как знакомый использовал

 git diff | git apply --reverse

Для того чтобы убрать unstaged diffs в git.
Для этих целей пользую обычно
 git stash
или иногда
 git checkout . 

Все варианты делают почти одно и тоже.
Ну только стеш еще и сохраняет изменения.
Одинаковую задачу в git можно решить огромным количеством способов.

Как ты обычно чистишь ненужные изменения? Может есть еще какие-то варианты?
Го в наш чат - @developer_tools_chat

BY Dev Tools


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/developer_tools/257

View MORE
Open in Telegram


Dev Tools Telegram | DID YOU KNOW?

Date: |

Telegram today rolling out an update which brings with it several new features.The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations.

Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.

Dev Tools from fr


Telegram Dev Tools
FROM USA